package com.bean;

import net.sourceforge.stripes.action.*;

/**
 * A simple Main Action.
 * 
 * @author Diego Iacono
 */
public class MenuActionBean extends BaseActionBean {
	
	private static final String CASES_VIEW = "/WEB-INF/jsp/cases.jsp" ;
	private static final String RUN_CASES_VIEW = "/WEB-INF/jsp/runcases.jsp" ;
	private static final String HOME_VIEW = "/WEB-INF/jsp/main.jsp" ;
	


	public Resolution goToCasesView() {

		return new ForwardResolution(CASES_VIEW);
	}
	
	public Resolution goToRunCasesView() {

		return new ForwardResolution(RUN_CASES_VIEW);
	}
	
	public Resolution goToHomeView() {

		return new ForwardResolution(HOME_VIEW);
	}
}
